package cn.imvc.app.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.Express;
import cn.imvc.app.entities.ExpressFee;
import cn.imvc.data.jpa.repository.ISqlExecutor;

public interface ExpressFeeRepository extends JpaRepository<ExpressFee, Integer>,ISqlExecutor<ExpressFee> {

	ExpressFee findByExpressAndAreaIdIn(Express express, List<Integer> areaIds);
	ExpressFee findByExpressAndAreaId(Express express, Integer areaId);
	
}
